package com.wch.serverdemo.common.entry;

public class User {
	private long id;
	private String loginName;
	private String passwd;
	private int accountStatus;
	private String telePhone;
	private String phsPhone;
	private String mobilePhone;
	private int version;
	private String no;
	private String name;
	private long organizationId;
	private long sgCommonMsgRuleId;
	private String expDate;
	private String pwdExpDate;
	private String sessionId;
	private String deviceId;
	
	public User(){}
	
	public User( long id ){
		this( id, null, null );
	}
	public User( long id, String loginName ){
		this( id, loginName, null );
	}
	public User(long id, String loginName, String passwd ){
		this.id = id;
		this.loginName = loginName;
		this.passwd = passwd;
	}
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	public int getAccountStatus() {
		return accountStatus;
	}
	public void setAccountStatus(int accountStatus) {
		this.accountStatus = accountStatus;
	}
	public String getTelePhone() {
		return telePhone;
	}
	public void setTelePhone(String telePhone) {
		this.telePhone = telePhone;
	}
	public String getPhsPhone() {
		return phsPhone;
	}
	public void setPhsPhone(String phsPhone) {
		this.phsPhone = phsPhone;
	}
	public String getMobilePhone() {
		return mobilePhone;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getOrganizationId() {
		return organizationId;
	}
	public void setOrganizationId(long organizationId) {
		this.organizationId = organizationId;
	}
	public long getSgCommonMsgRuleId() {
		return sgCommonMsgRuleId;
	}
	public void setSgCommonMsgRuleId(long sgCommonMsgRuleId) {
		this.sgCommonMsgRuleId = sgCommonMsgRuleId;
	}
	public String getExpDate() {
		return expDate;
	}
	public void setExpDate(String expDate) {
		this.expDate = expDate;
	}
	public String getPwdExpDate() {
		return pwdExpDate;
	}
	public void setPwdExpDate(String pwdExpDate) {
		this.pwdExpDate = pwdExpDate;
	}

	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId ) {
		this.deviceId = deviceId;
	}
	

}
